﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TMS.Master" AutoEventWireup="true" CodeBehind="UImError.aspx.cs" Inherits="TMS.formularios.UImError" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
            width: 215px;
        }
        .style3
        {
            width: 204px;
        }
        .style4
        {
            width: 171px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
        Críterio de búsqueda:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="ddCriterio" runat="server" AutoPostBack="True" 
            onselectedindexchanged="ddCriterio_SelectedIndexChanged">
        </asp:DropDownList>
    </p>
    <p>
        <asp:MultiView ID="mvCriterio" runat="server" ActiveViewIndex="6">
            <asp:View ID="vUsuario" runat="server">
                Usuario:&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ddUsuarios" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddUsuarios_SelectedIndexChanged1">
                </asp:DropDownList>
                <br />
                <asp:Button ID="btnUBuscar" runat="server" Text="Buscar" 
                    onclick="btnUBuscar_Click" />
            </asp:View>
            <asp:View ID="vFechaCerrado" runat="server">
                Rango de fechas:<br />
                <table style="width:100%;">
                    <tr>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style2">
                            Desde</td>
                        <td class="style3">
                            Hasta</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style2">
                            <asp:Calendar ID="calCerradoDesde" runat="server" style="text-align: right">
                            </asp:Calendar>
                        </td>
                        <td class="style3">
                            <asp:Calendar ID="calCerradoHasta" runat="server"></asp:Calendar>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
                <br />
                <asp:Button ID="btnCerradoBuscar" runat="server" Text="Buscar" 
                    onclick="btnCerradoBuscar_Click" />
            </asp:View>
            <asp:View ID="vFechaCreado" runat="server">
                Rango de fechas:<br />
                <table style="width:100%;">
                    <tr>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style2">
                            Desde</td>
                        <td class="style3">
                            Hasta</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style2">
                            <asp:Calendar ID="calCreadoDesde" runat="server" style="text-align: right">
                            </asp:Calendar>
                        </td>
                        <td class="style3">
                            <asp:Calendar ID="calCreadoHasta" runat="server"></asp:Calendar>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
                <br />
                <asp:Button ID="btnCreadoBuscar" runat="server" Text="Buscar" 
                    onclick="btnCreadoBuscar_Click" />
            </asp:View>
            <asp:View ID="vImportancia" runat="server">
                Importancia:&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ddImportancia" runat="server" 
                    onselectedindexchanged="ddImportancia_SelectedIndexChanged">
                </asp:DropDownList>
                <br />
                <asp:Button ID="btnIBuscar" runat="server" Text="Buscar" 
                    onclick="btnIBuscar_Click" />
            </asp:View>
            <asp:View ID="vEstado" runat="server">
                Estado:&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ddEstado" runat="server" 
                    onselectedindexchanged="ddEstado_SelectedIndexChanged">
                </asp:DropDownList>
                <br />
                <asp:Button ID="btnEBuscar" runat="server" Text="Buscar" 
                    onclick="btnEBuscar_Click" />
            </asp:View>
            <asp:View ID="vModulo" runat="server">
                Aplicación:&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ddMAplicacion" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddMAplicacion_SelectedIndexChanged1">
                </asp:DropDownList>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Modulo:&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ddMModulo" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddMModulo_SelectedIndexChanged">
                </asp:DropDownList>
                <br />
                <asp:Button ID="btnMBuscar" runat="server" Text="Buscar" 
                    onclick="btnMBuscar_Click1" />
            </asp:View>
            <asp:View ID="vAplicacion" runat="server">
                Aplicación:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:DropDownList ID="ddAAplicacion" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddAAplicacion_SelectedIndexChanged">
                </asp:DropDownList>
                <br />
                <asp:Button ID="btnABuscar" runat="server" Text="Buscar" 
                    onclick="btnABuscar_Click" />
            </asp:View>
        </asp:MultiView>
    </p>
    Errores encontrados:
    <br />
    <asp:ListBox ID="lstErrEncont" runat="server" Width="630px" AutoPostBack="True" 
        onselectedindexchanged="lstErrEncont_SelectedIndexChanged"></asp:ListBox>
    <br />
    <br />
    ID:&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="lblErrorID" runat="server" Font-Bold="True" Font-Size="Medium"></asp:Label>
    <br />
    <br />
    Aplicación:&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="lblErrorAplicacion" runat="server" Font-Bold="True" 
        Font-Size="Medium"></asp:Label>
    <br />
    Modulo:&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="lblErrorModulo" runat="server" Font-Bold="True" 
        Font-Size="Medium"></asp:Label>
    <br />
    <br />
    Descripción:&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="txtErrorDescripcion" runat="server" Height="32px" 
        TextMode="MultiLine" Width="252px"></asp:TextBox>
    <br />
    Estado:&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:DropDownList ID="ddErrorEstado" runat="server">
    </asp:DropDownList>
    <br />
    Importancia:&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:DropDownList ID="ddErrorImportancia" runat="server">
    </asp:DropDownList>
    <br />
    <br />
    <asp:Button ID="btnModificarError" runat="server" 
        Text="Modificar datos del Error" onclick="btnModificarError_Click" />
    <br />
    <br />
    Comentarios:<br />
    <asp:ListBox ID="lstComentarios" runat="server" Width="630px" 
        AutoPostBack="True" 
        onselectedindexchanged="lstComentarios_SelectedIndexChanged"></asp:ListBox>
    <br />
    <br />
    Detalle comentario:<br />
    <asp:TextBox ID="txtDetalleComentario" runat="server" Height="58px" 
        TextMode="MultiLine" Width="476px"></asp:TextBox>
    <br />
    <asp:Button ID="btnModificarComentario" runat="server" 
        Text="Modificar comentario" onclick="btnModificarComentario_Click" />
    <br />
    <br />
    Nuevo comentario:<br />
    <asp:TextBox ID="txtNuevoComentario" runat="server" Height="63px" 
        TextMode="MultiLine" Width="476px"></asp:TextBox>
    <br />
    <asp:Button ID="btnAgregarComentario" runat="server" 
        Text="Agregar nuevo comentario" onclick="btnAgregarComentario_Click" />
    <br />
    <br />
</asp:Content>
